package com.wang.system.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenAPIConfig {

    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("OJ项目管理端(B端)接口文档")
                        .version("1.0.0")
                        .description("使用Knife4j增强的OpenAPI 3.0文档"));
    }
}
